package com.cskaoyan.service;

import com.cskaoyan.bean.MarketAdmin;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.vo.AdminAdminListVo;

import java.util.List;

/**
 * @author stone
 * @date 2022/09/06 11:44
 */
public interface AdminService {
    MarketAdmin queryById(Integer id);

    void modify(MarketAdmin admin);

    CommonData<AdminAdminListVo> list(BasePageInfo pageInfo, String username);

    MarketAdmin addAdmin(MarketAdmin marketAdmin);

    List<MarketAdmin> allAdmins();
}
